package com.example.pceb.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("chat_message")
public class ChatMessage {
    @TableId
    private Long id;
    private String fromUser;
    private String toUser;
    private String message;
    private Date sendTime;
    private Integer isRead; // 0未读 1已读
}
